package server.business.login.data.gm;

import java.util.HashMap;
import java.util.Map;

public class GmOptionalFactory
{
	/**gm指令map**/
	private static Map<String, IGmOptional> optionalMap = new HashMap<String, IGmOptional>();
	
	
	static
	{
		optionalMap.put("info", new InformationOptional());
		
	}

	/**获得gm指令执行对象**/
	public static IGmOptional getGmOptional(String optionalKey)
	{
		return optionalMap.get(optionalKey);		
	}

}
